Skip to main content
function | table | thread | boolean
required
The object you would like to set the safeenv of. (If a boolean is provided it will set the current state’s safeenv)
boolean
What to set the safeenv of the ‘func’.
Alias: debug.setuntouched

Example

Potassium marks safeenv to false in all executed scripts for compatibility.